<?php
declare (strict_types = 1);

namespace service\ext;

class PageData
{
    private array $data;
    private int $count = 0;

    public function getData(): array{
        return $this->data;
    }

    /**
     * @param array $data
     */
    public function setData(array $data): void
    {
        $this->data = $data;
    }

    public function getCount(): int{
        return $this->count;
    }

    /**
     * @param int $count
     */
    public function setCount(int $count): void
    {
        $this->count = $count;
    }
}